package com.zhucan.account.infrastructure.amqp;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class AccountDomainEventPublisher {

   public void publish(String identityCard, Object event){
       log.info("publish domain event:{}", event);
   };

    public void publish(Long id, Object event){
        log.info("publish domain event:{}", event);
    };
}
